import { Component, OnInit } from '@angular/core';
import { HttpService } from '../../service/http.service';
import { HttpRouterService } from '../../service/http-router.service';
import { StorageService } from '../../service/storage.service';
import { Router } from '@angular/router';

@Component({
  selector: 'app-certification',
  templateUrl: './certification.component.html',
  styleUrls: ['./certification.component.less']
})
export class CertificationComponent implements OnInit {

  public realname = '';
  public idcard = '';
  public region_name = '';
  public company = '';
  public tel = '';
  public wechat = '';
  public idPhoto = '';


  constructor(
            private _http: HttpService,
            private _router: Router,
            private _storage: StorageService,
            private _httpRouter: HttpRouterService

  ) { }

  ngOnInit() {

  }

  uploadImg($event) {
    console.log($event.target.files[0].type);
  }

}
